﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:zoom="clr-namespace:Waaahsabi.Controls;assembly=Waaahsabi.Controls.ZoomControl" xmlns:StoryDesigner_Controls="clr-namespace:StoryDesigner.Controls;assembly=StoryDesigner.Controls" xmlns:BlendModeEffectLibrary="clr-namespace:BlendModeEffectLibrary;assembly=SLBlendModeEffectLibrary" xmlns:local="clr-namespace:StoryDesigner" x:Class="StoryDesigner.MainPage"
    mc:Ignorable="d"
    d:DesignHeight="417" d:DesignWidth="579">

    <Grid x:Name="LayoutRoot" Background="White">
    	<Grid.ColumnDefinitions>
    		<ColumnDefinition Width="122"/>
    		<ColumnDefinition/>
    	</Grid.ColumnDefinitions>
    	<Grid.RowDefinitions>
    		<RowDefinition Height="48"/>
    		<RowDefinition/>
    	</Grid.RowDefinitions>
    	<Grid Margin="0,5,0,0" Grid.Row="1">
    		<Grid.RowDefinitions>
    			<RowDefinition Height="32"/>
    			<RowDefinition Height="16"/>
    			<RowDefinition/>
    		</Grid.RowDefinitions>
    		<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="Your created arcs" d:LayoutOverrides="Height" Grid.Row="1" VerticalAlignment="Center" Margin="5,0"/>
    		<ListBox x:Name="lstMyArcs" Grid.Row="2" Margin="5,0"/>
			<Button x:Name="btnNewArc" Content="New Arc..." d:LayoutOverrides="Height" Margin="5,0,5,5" VerticalAlignment="Top" Click="BtnNewArcClick"/>
    	</Grid>
    	<Grid x:Name="grdZoomContainer" Grid.Row="1" Grid.Column="1" Background="White">
    		<zoom:ZoomControl x:Name="zoom" InitialZoom="1" MaxZoom="10" MinZoom="0.5" ZoomStep="0.1" PanEnabled="True" Background="#02000000">
    			<local:StoryWorkspace x:Name="_workSpace"/>
    		</zoom:ZoomControl>
    		<Border BorderBrush="Black" BorderThickness="1,3,0,0">
    			<Border.Effect>
    				<BlurEffect Radius="10"/>
    			</Border.Effect>
    		</Border>
    	</Grid>
    	<TextBlock TextWrapping="Wrap" FontFamily="Arial Black" FontSize="18.667" Margin="0,16,5,0" HorizontalAlignment="Right" Opacity="0.5" IsHitTestVisible="False" VerticalAlignment="Top" Grid.Column="1" RenderTransformOrigin="0.5,0.5" Grid.RowSpan="2" UseLayoutRounding="False"><TextBlock.Effect>
    			<BlurEffect/>
    		</TextBlock.Effect><TextBlock.OpacityMask>
    			<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    				<GradientStop Color="White" Offset="1"/>
    				<GradientStop Color="Transparent" Offset="0.28"/>
    			</LinearGradientBrush>
    		</TextBlock.OpacityMask><TextBlock.RenderTransform>
    			<CompositeTransform ScaleY="-1"/>
    		</TextBlock.RenderTransform><Run Text="TheGame :: STORY"/><Run FontFamily="Arial" Text="DESIGNER"/></TextBlock>
    	<TextBlock TextWrapping="Wrap" d:LayoutOverrides="Height" FontFamily="Arial Black" FontSize="18.667" Grid.ColumnSpan="2" Margin="5,0" HorizontalAlignment="Right" Grid.RowSpan="2" IsHitTestVisible="False" VerticalAlignment="Top" UseLayoutRounding="False" Effect="{StaticResource TitleBlur}"><Run Text="TheGame :: STORY"/><Run FontFamily="Arial" Text="DESIGNER"/></TextBlock>
    </Grid>
</UserControl>
